package com.dataextend.mapper.cluster;

import com.dataextend.entity.MenusEntity;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Component;

import java.util.List;

@Component
@Mapper
public interface MenusDao {
    int add(MenusEntity menusEntity);
    int update(MenusEntity menusEntity);
    void delete(Long id);
    MenusEntity queryById(Long id);
    List<MenusEntity> list(MenusEntity menusEntity);
}
